package com.example.grantsys.domain;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import lombok.Data;

/**
 * 
 * @TableName terminal
 */
@TableName(value ="terminal")
@Data
public class Terminal implements Serializable {
    /**
     * 终端ID
     */
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 终端描述
     */
    private String name;

    /**
     * 终端秘钥
     */
    private String secret;

    /**
     * 逻辑删除
     */
    @TableLogic
    private Integer deleted;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}